package com.leiduoduo.oms.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;
import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Validated
@Component
@Accessors(chain = true)
public class Dinner implements Serializable {
    private int id;
    private String dinner_code;
    private int table_id;
    private int people_number;
    private String note;
    private String created_at;
    private String updated_at;
    private byte alive;
    private String database;
}
